package com.example.mapper;

import com.example.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface StudentMapper{
//@Select("SELECT * FROM t_student WHERE num = #{num}")
    public Student findByNum(Long num);

    public int insert(Student student);

    public int update(Student student);

    public int deleteByNum(Long num);
}
